package com.sdx.console.plan.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ibeetl.admin.core.entity.BaseEntity;
import com.ibeetl.admin.core.util.ValidateConfig;
import lombok.Data;
import org.beetl.sql.core.annotatoin.AutoID;

import javax.validation.constraints.NotNull;
import java.util.Date;

/*
*
* gen by Spring Boot2 Admin 2019-04-28
*/
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@Data
public class TDPlanningData extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AutoID
    private Integer id ;

    private Integer year ;

    private Integer provinceId ;

    /**
     * 1:	文科
     * 2	理科
     */
    private Integer majorTypeId ;

    private Integer batchId ;

    private Integer plan ;
    /**
     * 0:	学校
     * 	1	专业
     */
    private Integer type ;

    private String umId ;

    private Integer univId ;

    private String univCode ;

    private String univName ;

    private String univEvaluation ;

    private Integer majorId ;

    private String majorCode ;

    private String majorName ;

    private String majorEvaluation ;

    private String remark ;

    private String cost ;

    private String schoolyear ;

    //是否是二级类 1是，0否
    private Integer isMajorClass ;

    //学校招生专业个数
    private Integer majorCount ;

    private String tablename;

    private String batchName;

    //1、已校验 0、未校验
    private Integer checkFlag;

    private Integer univEvaluationType;

    private String checker;
    private Date checkeTime;

    private Integer orderType;

}
